﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using UnityEditor;
//using UnityEngine;

//namespace libx
//{


//    [CustomPropertyDrawer(typeof(BundleInfo))]
//    public class BundleInfoPropertyDrawer : PropertyDrawer
//    {

//        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
//        {
//            var tempPos = position;
//            tempPos.height = EditorGUIUtility.singleLineHeight;

//            var prop_bundleName = property.FindPropertyRelative("bundleName");
//            Debug.Log($"ret: " + EditorGUI.PropertyField(tempPos, prop_bundleName, true));

//            tempPos.y += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing;
//            var prop_assetInfoList = property.FindPropertyRelative("assetInfoList");
//            EditorGUI.PropertyField(tempPos, prop_assetInfoList, true);
            
//            //base.OnGUI(position, property, label);
//        }

//        public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
//        {
//            return (float)(2 * (double)EditorGUIUtility.singleLineHeight + 1 * (double)EditorGUIUtility.standardVerticalSpacing);
//        }

//    } //end of class


//}
